/**  
* @Title: SansuiCoreService.java 
* @Description:
* @Copyright: Copyright (c) 2018
* @Company:http://www.sinocon.cn
* @author Administrator  
* @date 2018年4月20日  
* @version 1.0  
*/
package com.sansui.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.sansui.config.FeignConfig;

/**
 * @Title: SansuiCoreService
 * @Description:
 * @author:Administrator
 * @date 2018年4月20日
 */
@FeignClient(name = "sansui-service", configuration = FeignConfig.class)
public interface SansuiCoreService {
	@RequestMapping("/system/resources/findResourcesEMUByResources")
	Object hello();

	/**
	 * @Title: login
	 * @Description:
	 * @param string
	 * @param string2
	 * @return
	 * 
	 */
	@RequestMapping("/login")
	Object login(@RequestParam("username") String username, @RequestParam("password") String password);
}
